package com.manor.main.fragment.user

import android.content.Context
import android.graphics.Color
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.recyclerview.widget.RecyclerView
import androidx.viewpager2.widget.ViewPager2
import com.manor.common.CommonAppConfig
import com.manor.common.CommonAppContext
import com.manor.common.Constants
import com.manor.common.bean.ShortVideoBean
import com.manor.common.fragment.BaseFragment
import com.manor.main.R

/**
 *
 * @date  2020/7/11  17:35
 * @version 1.0
 */
class UserVideoDetailFragment : BaseFragment() {
    private var dId: String = ""
    private var uids: String = ""
    private var commentId: String = ""
    private val startPage = 1
    private var pageNum: Int = startPage
    private var mViewPagerImpl: RecyclerView? = null


    private val dataList: MutableList<ShortVideoBean> = mutableListOf()

    companion object {
        fun newInstance(uId: String, dId: String, cId: String): UserVideoDetailFragment {
            return UserVideoDetailFragment().apply {
                arguments = Bundle().apply {
                    putString(Constants.TO_UID, uId)
                    putString(Constants.DYNAMIC_ID, dId)
                    putString(Constants.COMMENT_ID, cId)
                }
            }
        }
    }

    override fun getLayoutRes(): Int = R.layout.fragment_user_sv_full


    override fun initView() {
    }


    override fun onResume() {
        super.onResume()
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
    }

    override fun onPause() {
        super.onPause()
    }


    override fun onDestroyView() {
        super.onDestroyView()
    }







}